package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import hw.topevery.framework.dto.PointDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.locationtech.jts.geom.Geometry;

import java.io.Serializable;
import java.util.List;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@ApiModel(value = "Facilities 视图", description = " 视图")
public class FacilitiesPoiVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 设施编号
     */
    @ApiModelProperty(value = "设施编号")
    @Excel(name = "设施编号", orderNum = "0")
    private String code;

    /**
     * 设施名称
     */
    @ApiModelProperty(value = "设施名称")
    @Excel(name = "设施名称", orderNum = "0")
    private String name;

    /**
     * 设施类别
     */
    @ApiModelProperty(value = "设施类别")
    @Excel(name = "设施类别", orderNum = "0")
    private String typeName;

    /**
     * 位置描述
     */
    @ApiModelProperty(value = "位置描述")
    @Excel(name = "位置描述", orderNum = "0")
    private String address;

        /**
     * 范围 空间数据
     */
    @ApiModelProperty(value = "空间数据")
    public Geometry geom;

    @ApiModelProperty(value = "范围点信息")
    public List<List<PointDto>> mapRangesPoints;
}
